﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShowDataEmp.aspx.cs" Inherits="EmployeeCheckIn.ShowDataEmp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <style type="text/css">

        .style1
        {
            width: 100%;
        }
        .style7
        {
            width: 381px;
        }
        .style8
        {
            width: 113px;
            height: 26px;
        }
        .style10
        {
            width: 297px;
        }
        .style12
        {
            width: 297px;
            height: 25px;
        }
        .style13
        {
            width: 113px;
            height: 25px;
        }
        .style14
        {
            height: 25px;
        }
        .style15
        {
            width: 113px;
        }
        .style16
        {
            width: 100%;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <table class="style16">
        <tr>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <table class="style16">
        <tr>
            <td>
                <span class="style1" 
                    
        style="font-size: large; color: #000000; background-color: #FFFFFF;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; แสดงข้อมูลพนักงาน</span></td>
        </tr>
    </table>
&nbsp;<table class="style1">
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Image ID="imEmp" runat="server" Height="177px" Width="177px" />
            </td>
        </tr>
    </table>
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
    <p>
        <table class="style1">
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                รหัสพนักงาน</td>
                <td>
                <asp:TextBox ID="txtEMP_CODE" runat="server" enabled ="false" Width="170px"></asp:TextBox>
                <asp:HiddenField ID="hdf1" runat="server" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                คำนำหน้าชื่อ</td>
                <td>
                <asp:RadioButtonList ID="rbltitle" runat="server" RepeatDirection="Horizontal" 
                    Enabled="False" >
                    <asp:ListItem Selected="True" Value="1">นาย</asp:ListItem>
                    <asp:ListItem Value="2">นาง</asp:ListItem>
                    <asp:ListItem Value="3">นางสาว</asp:ListItem>
                </asp:RadioButtonList>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style12">
                </td>
            <td class="style13" align="right" style="font-size: small; color: #000000">
                ชื่อ</td>
                <td class="style14">
                    <asp:TextBox ID="txtEMP_FIRSTNAME" runat="server" Enabled="False" Width="170px"></asp:TextBox>
                </td>
                <td class="style14">
                </td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                นามสกุล</td>
                <td>
                <asp:TextBox ID="txtEMP_LASTNAME" runat="server" Enabled="False" Width="170px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                ตำแหน่ง</td>
                <td>
                <asp:DropDownList ID="ddlposition2" runat="server" DataSourceID="lkqPosition2" 
                    DataTextField="POSITION_NAME" DataValueField="POSITION_ID" Enabled="False" 
                        Width="170px">
                </asp:DropDownList>
                <asp:LinqDataSource ID="lkqPosition2" runat="server" 
                    ContextTypeName="EmployeeCheckIn.PositionDataContext"
                    Select="new (POSITION_ID, POSITION_NAME)" TableName="TBL_POSITIONs">
                </asp:LinqDataSource>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style8" align="right" style="font-size: small; color: #000000">
                วันเริ่มทำงาน</td>
                <td>
                <asp:TextBox ID="txtEMP_START_DATE" runat="server" Enabled="False" 
                        class="dateInput" style="margin-bottom: 0px" Width="170px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                วันเกิด</td>
                <td>
                <asp:TextBox ID="txtEMP_BIRTH_DATE" runat="server" enabled ="false" 
                        class="dateInput" Width="170px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                รหัสบัตรประชาชน</td>
                <td>
                <asp:TextBox ID="txtEMP_ID_CARD" runat="server" enabled ="false" Width="170px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                ที่อยู่</td>
                <td>
                <asp:TextBox ID="txtEMP_ADDRESS" runat="server" Height="75px" 
                    TextMode="MultiLine" Width="227px" enabled ="false"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                จังหวัด</td>
                <td>
                <asp:DropDownList ID="ddlProvince" runat="server" DataSourceID="lnkqProvince" 
                    DataTextField="PROVINCE_NAME" DataValueField="PROVINCE_ID" Enabled="False" 
                        Width="170px">
                </asp:DropDownList>
                <asp:LinqDataSource ID="lnkqProvince" runat="server" 
                    ContextTypeName="EmployeeCheckIn.ProvinceDataContext"
                    Select="new (PROVINCE_ID, PROVINCE_NAME)" TableName="TBL_PROVINCEs">
                </asp:LinqDataSource>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                รหัสไปรษณีย์</td>
                <td>
                <asp:TextBox ID="txtEMP_POST_CODE" runat="server" enabled ="false" Width="170px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style8" align="right" style="font-size: small; color: #000000">
                เบอร์โทร</td>
                <td>
                <asp:TextBox ID="txtEMP_PHONE" runat="server" enabled ="false" Width="170px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
            <td class="style15" align="right" style="font-size: small; color: #000000">
                สถานะการทำงาน</td>
                <td>
                <asp:DropDownList ID="ddlStatus2" runat="server" DataSourceID="linqStatus1" 
                    DataTextField="EMP_STATUS_NAME" DataValueField="EMP_STATUS_ID" 
                    Enabled="False" Width="170px">
                </asp:DropDownList>
                <asp:LinqDataSource ID="linqStatus1" runat="server" 
                    ContextTypeName="EmployeeCheckIn.linqStatus1DataContext"
                    Select="new (EMP_STATUS_ID, EMP_STATUS_NAME)" TableName="TBL_STATUS">
                </asp:LinqDataSource>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        &nbsp;<table class="style16">
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;<asp:Button ID="Back" runat="server" onclick="Back_Click" 
                        style="margin-left: 0px" Text="กลับสู่หน้าหลัก" />
                </td>
            </tr>
            </table>
    </p>
    </asp:Content>
